/*
* @Project_description: {{routerName}}vuex
*/
'use strict'
export default {
namespaced: true,
state: {
// 当前点击访问的{{name}}Id
{{name}}Id: '',
{{name}}Tree:[],
},
actions: {
/**
* @description 设置{{routerName}}id
* @param {Object} context
* @param {*} info info
*/
set({ state, dispatch }, orgId) {
// store 赋值
state.{{name}}Id = {{name}}Id
},
/**
* @description 设置{{routerName}}树
* @param {Object} context
*/
setTree({ state, dispatch }, tree) {
// store 赋值
state.{{name}}Tree = tree
},
/**
* @description 获取{{routerName}}id
* @param {Object} context
*/
get({ state, dispatch }) {
// store 赋值
return   state.{{name}}Id
},
/**
* @description 获取{{routerName}}树
* @param {Object} context
*/
getTree({ state, dispatch }) {
// store 赋值
return   state.{{name}}Tree
},
},
}
